package org.example.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
@TableName("worker")
public class Worker extends BaseEntity implements Serializable {



    @TableField("name")
    private String name;

    @TableField("age")
    private Integer age;

    @TableField("does")
    private String does;



    @TableLogic
    @TableField("is_del")
    private Integer isDel;

    @TableField("scene")
    private String scene;



}
